projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
38e3f12
)
(Fx_popup_menu): Set Vmenu_updating_frame to f if
author
Juri Linkov
<juri@jurta.org>
Tue, 20 Dec 2005 21:37:36 +0000
(21:37 +0000)
committer
Juri Linkov
<juri@jurta.org>
Tue, 20 Dec 2005 21:37:36 +0000
(21:37 +0000)
position is non-nil, else set it to nil.
src/xmenu.c
patch
|
blob
|
history
diff --git
a/src/xmenu.c
b/src/xmenu.c
index 468462a6ceb329dca9ef4f921359929c7701f99d..c6640916f3237f7e587c226c97784a552dc40074 100644
(file)
--- a/
src/xmenu.c
+++ b/
src/xmenu.c
@@
-899,8
+899,11
@@
no quit occurs and `x-popup-menu' returns nil. */)
xpos += XINT (x);
ypos += XINT (y);
+
+ XSETFRAME (Vmenu_updating_frame, f);
}
- Vmenu_updating_frame = Qnil;
+ else
+ Vmenu_updating_frame = Qnil;
#endif /* HAVE_MENUS */
record_unwind_protect (unuse_menu_items, Qnil);